package com.itheima.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

// mybatis-plus 在写DAO的时候要继承BaseMapper<>
@Mapper
public interface UserDao extends BaseMapper<User> {

//    @Select("select * from user")
//    List<User> selectAll();
}
